
var ctx = ctx;

$(function(){
    loadDiv('dc_turnInPatient',ctx+'/doctor/medicalRecord/findInfoByParam?type=1');
    loadDiv('dc_waitNewInPatientList',ctx+'/doctor/medicalRecord/waitDeptPatientList');
});

function loadPatientFormData(turnid,ward,wardFlag){
    if (wardFlag==2||wardFlag=='2'){
        toastr.info("该病人处于病区移出状态，不能进行移入操作！");
        return;
    }else if (ward&&ward!=''&&ward!=null&&(wardFlag==1&&wardFlag=='1')){
        loadDiv('dc_turnInPatient',ctx+'/doctor/medicalRecord/findInfoByParam?id=' + turnid);
    }else{
        toastr.info("该病人未入病区，不能进行移入操作！");
        return;
    }

}




